Remove C99-ism from gbser_posix.c
authorrobertl <robertl>
Mon, 3 Jul 2006 01:36:14 +0000 (01:36 +0000)
committerrobertl <robertl>
Mon, 3 Jul 2006 01:36:14 +0000 (01:36 +0000)
gbser_posix.c

index 0aec641280f972567d014128444bd6ba14b6fda8..2f4cd88366c1b6dd33d32355b177b126d2968319 100644 (file)
@@ -137,8 +137,9 @@ gbser_read(void *handle, char *ibuf, int size)
        char *c;
        char tbuf[256];
        char *tp = tbuf;
-ibuf[0] = 0;
        gbser_posix_handle *h = (gbser_posix_handle *) handle;
+
+       ibuf[0] = 0;
        assert(h->magic == MYMAGIC);
 
 //     n = read(h->fd, ibuf, size);